﻿<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<% 
boolean cadc=false;
if(request.getServerName().equals("i.pkucada.org"))cadc=true;
%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="http://static.hoow.in/public/css/main.css" rel="stylesheet" type="text/css" />
<title><% if(cadc)out.print("计算机应用设计大赛"); else out.print("我是你的"); %></title>
</head>
<body>
<% session.invalidate(); %>
<div id="login">
<div id="head">
    <div style="height:400px;">
	<h1 style="background-image:<% if(cadc) out.print("url(/basic/img/login/h1.png)"); else out.print("url(/basic/img/login/h1-o.png)"); %>">language exchange</h1>
    </div>
    <div id="logform">
      <p id="messagebox"><s:property value="message" /></p>
	<s:form id="doLogin" name="doLogin" action="doLogin" namespace="/basic" method="post">
        <label><p>email</p>
          <input type="text" name="name" id="email" placeholder="abc@def.com" />
        </label>
        <label><p>password</p>
          <input type="password" name="password" id="password" />
        </label>
        <label style="width:60px;"><p>&nbsp;</p>
        <input id="submit" value="sign in" type="submit" />
        </label>
	</s:form>
    </div>
</div>
</div>
</body>
</html>
